method name mistake

Wong Liang Zan 11 years ago
parent
commit
e4aa7f6f16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/agents/webhook_agent.rb

+ 1 - 1
app/models/agents/webhook_agent.rb

@@ -46,7 +46,7 @@ module Agents
46 46
     end
47 47
 
48 48
     def working?
49
-      event_created_within(options['expected_receive_period_in_days']) && !recent_error_logs?
49
+      event_created_within?(options['expected_receive_period_in_days']) && !recent_error_logs?
50 50
     end
51 51
 
52 52
     def validate_options